//
//  MZView.m
//  MZBasic_Example
//
//  Created by Sings on 2022/8/19.
//  Copyright © 2022 YCMZ. All rights reserved.
//

#import "MZView.h"
#import <BZTheme.h>

@implementation MZView

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        UILabel *lblTitle = [[UILabel alloc] initWithFrame:CGRectMake(12, 12, 80, 20)];
        lblTitle.text = @"一级标题";
        lblTitle.font = [UIFont systemFontOfSize:12.];
        BZTHEME_COLOR(skin_content_text_level1_color,lblTitle,textColor);
        [self addSubview:lblTitle];
        
        UILabel *lblInfo = [[UILabel alloc] initWithFrame:CGRectMake(12, 38, 80, 20)];
        lblInfo.text = @"二级标题";
        lblInfo.font = [UIFont systemFontOfSize:11.];
        BZTHEME_COLOR(skin_content_text_level2_color,lblInfo,textColor);
        [self addSubview:lblInfo];
        
        
    }
    return self;
}

@end
